﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class DALTags : DALBase
    {
        private static string cmdBuscarTagPorComercio = "Select * From Tags Where ComId = @ComId";

        public static SqlDataReader BuscarTagsPorComercio(int ComId)
        {
            List<SqlParameter> lstparameters = new List<SqlParameter>();
            lstparameters.Add(new SqlParameter("@ComId", ComId));
            SqlDataReader dr = select(lstparameters, cmdBuscarTagPorComercio, CommandType.Text);
            return dr;
        }
    }
}
